package com.sanfeng.smbms.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Nelson
 * @email Nelson@gmail.com
 * @date 2022-07-03 17:23:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerEntity {
    /**
     * id
     */
    private Integer customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 客户地址
     */
    private String address;

    /**
     * 客户联系电话
     */
    private String telephone;

    /**
     * 状态
     */
    private String status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date creationTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
